Robustness and Diagnosability of OO Systems Designed by Contracts
نویسندگان
چکیده
While there is a growing interest for componentbased systems in industry,little effort has so far been devoted to quality evaluation of these systems. This paper presents the definition of measures for two quality factors, namely robustness and “diagnosability” for the special case of OO systems for which thee approach known as Design by Contract has been used. The main steps in constructing these measures are given, from informal definitions of the factors to be measured to the mathematical model of the measures. To fix the parameters, experimental studies have been conducted, essentially based on applying mutation analysis in the OO context. Several measures are presented that reveal and estimate the contribution of contracts quality and density to the overall quality of a system in terms of robustness and “diagnosability”.
منابع مشابه
Question-learn-test-feedback pattern to test emerging software construction paradigms
Factory 1 client 1 abstract factory class n concrete factory m abstract products p concrete products p≤ X ≤n*p no Decorator 1 interface 1 component class 1 abstract decorator class n concrete decorator classes nor 1≤ X ≤n Visitor n visited elements (ConcreteElement) p visitors (ConcreteVisitor) no n*p Table 2.1: Excerpt of a testability catalog for design patterns 2.1.2 Understanding the impact...
متن کاملDeveloping Safety Contracts for OO Systems
The use of an object oriented (OO) approach brings potentially large savings in terms of time and cost for developers of safety critical systems. OO systems have improved maintainability due to encapsulation, high cohesion and low coupling, and the facility for reuse through inheritance and design patterns. This raises specific challenges for developers of OO safety critical systems who wish to...
متن کاملCopie de POUR PDF
Today’s complex systems increasingly require safety and robustness w.r.t faults occurrences, and diagnosability is a key property to ensure this at design stage. Intuitively, a system is diagnosable if its only observable part allows one to determine without ambiguity the occurrence of its failures. In the recent years diagnosability has been extensively studied, especially in the finite state ...
متن کاملTrustable Components: Yet Another Mutation-Based Approach
This paper presents the use of mutation analysis as the main qualification technique for: estimating and automatically enhancing a test set (using genetic algorithms), qualifying and improving a component’s contracts (that is the specification facet) measuring the impact of contractable robust components on global system robustness and reliability. The methodology is based on an integrated desi...
متن کاملStable Gait Planning and Robustness Analysis of a Biped Robot with One Degree of Underactuation
In this paper, stability analysis of walking gaits and robustness analysis are developed for a five-link and four-actuator biped robot. Stability conditions are derived by studying unactuated dynamics and using the Poincaré map associated with periodic walking gaits. A stable gait is designed by an optimization process satisfying physical constraints and stability conditions. Also, considering...
متن کامل